package astudy.networking.ftp;


public class Response {
	
	private Integer code;
	private String message;
	private String result;
	
	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	protected Response() {}
	
	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	@Override
	public String toString() {
		return "[Response " + this.code + "] " + this.message + "\n" + this.result;
	}
}
